package com.ebook.fsk;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class FskebookActivity extends Activity  implements OnClickListener{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        Button bnt1 =  (Button)findViewById(R.id.button_start);
        Button bnt2 =  (Button)findViewById(R.id.button_exit);
        bnt1.setOnClickListener( this);
        bnt2.setOnClickListener( this);
    }

	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch (v.getId()) {
		case R.id.button_start:
			Intent i = new Intent(this,readpage.class);
			startActivity(i);
		case R.id.button_exit:
            finish();
			break;

		default:
			break;
		}
		
	}


}